package com.jf.exam.mapper;

import com.jf.exam.pojo.data.ManageDO;
import com.jf.exam.pojo.vo.ManageVO;

import java.util.List;

public interface ManagerMapper {
    Integer addManager(ManageVO managerVO);

    Integer updateManager(ManageVO managerVO);

    ManageDO findDetailManager(ManageVO managerVO);

    List<ManageDO> listManager(ManageVO managerVO);

    List<ManageDO> listManagerPage(ManageVO managerVO);

    Integer countManager(ManageVO managerVO);

    Integer deleteManager(ManageVO managerVO);

    //添加自己的实现-----------------------------

    //根据用户名查询用户信息
    ManageVO getManageByName(String name);
}